/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.ufrn.dimap.projetodetalhadodesoftware.chatrmi.model.actor;


import br.ufrn.dimap.projetodetalhadodesoftware.chatrmi.view.ChatView;
import br.ufrn.dimap.projetodetalhadodesoftware.chatrmi.model.observer.Observer;
import br.ufrn.dimap.projetodetalhadodesoftware.chatrmi.model.observer.Subject;
import br.ufrn.dimap.projetodetalhadodesoftware.chatrmi.controller.ClientInterface;
import br.ufrn.dimap.projetodetalhadodesoftware.chatrmi.model.register.Register;
import java.io.Serializable;
import java.rmi.RemoteException;
import java.util.ArrayList;
import java.util.List;
import br.ufrn.dimap.projetodetalhadodesoftware.chatrmi.model.util.Message;

/**
 *
 * @author logan
 */
public class ChatModel  {

    private Integer id;
    private Integer numMaxOfClients;
    private String theme;
    private List<ClientInterface> clientsList;



    public ChatModel( Integer numMaxOfClients, String theme) throws RemoteException {
             
        this.numMaxOfClients = numMaxOfClients;
        this.theme = theme;
        clientsList = new ArrayList<ClientInterface>();


    }


    public List<ClientInterface> getClientsList() {
        return clientsList;
    }

    public void setClientsList(List<ClientInterface> clientsList) {
        this.clientsList = clientsList;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getNumMaxOfClients() {
        return numMaxOfClients;
    }

    public void setNumMaxOfClients(Integer numMaxOfClients) {
        this.numMaxOfClients = numMaxOfClients;
    }

    public String getTheme() {
        return theme;
    }

    public void setTheme(String theme) {
        this.theme = theme;
    }


    
}
